#include "GoogleMap.h"

#define GOOGLE_MAP_KEY "ABQIAAAAAzhhS4HGrCguAtiByGbPTxRi_j0U6kJrkFvY4-OX2XYmEAa76BTynfr8d9Yt1MzqzRJEabHSujIUSA"

using namespace std;

const string&	GoogleMap::createUrl(char name, const string& coordinates)
{
	string	url = 	"http://maps.google.com/maps/api/staticmap?center=" + coordinates + \
					"&zoom=13&size=400x400&markers=color:blue|label:" + name + \
					"|" + coordinates + "&key=" + GOOGLE_MAP_KEY + "&sensor=false";
	return (url);
}